<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" isELIgnored="false" %>
<%--使用taglib 引入标签库--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    if (request.getSession().getAttribute("userid") == null || !request.getSession().getAttribute("role").equals("volunteer")) {
        response.sendRedirect(request.getContextPath() + "/");
    }
%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>ENDWORK-VOL 校园志愿者服务与管理一体化平台 | Made By SPGLP(LSL)</title>
    <link rel="stylesheet" href="../css/pintuer.css">
    <link rel="stylesheet" href="../css/volunteer.css">
    <script src="../js/jquery.js"></script>
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
    <div class="logo margin-big-left fadein-top">
        <h1><img src="../images/SPGLP_icon.jpg" class="radius-circle rotate-hover" height="50" alt="" />ENDWORK-VOL 志愿者服务中心</h1>
    </div>
    <div class="head-l">
    <a class="button button-little bg-red" href="../logout"><span class="icon-power-off"></span> 退出登录</a> </div>
</div>
<div class="leftnav">
    <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
    <h2><span class="icon-user"></span>基本设置</h2>
    <ul style="display:block">
        <li><a href="myinfo_page" target="right"><span class="icon-caret-right"></span>我的信息设置</a></li>
    </ul>
    <h2><span class="icon-pencil-square-o"></span>活动中心</h2>
    <ul>
        <li><a href="activities_playground_page" target="right"><span class="icon-caret-right"></span>活动广场</a></li>
        <li><a href="activities_list_page" target="right"><span class="icon-caret-right"></span>活动签到</a></li>
    </ul>
    <h2><span class="icon-pencil-square-o"></span>活动历史</h2>
    <ul>
        <li><a href="activities_grade_list_page" target="right"><span class="icon-caret-right"></span>活动评分</a></li>
    </ul>
</div>
<script type="text/javascript">
    $(function(){
        $(".leftnav h2").click(function(){
            $(this).next().slideToggle(200);
            $(this).toggleClass("on");
        })
        $(".leftnav ul li a").click(function(){
            $("#a_leader_txt").text($(this).text());
            $(".leftnav ul li a").removeClass("on");
            $(this).addClass("on");
        })
    });
</script>
<ul class="bread">
    <li><a href="{:U('Index/info')}" target="right" class="icon-home"> 首页</a></li>
    <li><a href="##" id="a_leader_txt">首页</a></li>
    <li><b>当前语言：</b><span style="color:red;">中文</span>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="##">英文</a> </li>
</ul>
<div class="admin">
    <iframe scrolling="auto" rameborder="0" src="welcome" name="right" width="100%" height="100%"></iframe>
</div>

</body>
</html>